package com.mysteel.product.vo.web;

import com.mysteel.product.entity.SkuImagesEntity;
import com.mysteel.product.entity.SkuInfoEntity;
import com.mysteel.product.entity.SpuInfoDescEntity;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * ProjectName: mail
 * ClassName: SkuItemVo
 * Description:
 * date: 2021/02/07/007 15:50
 *
 * @author xiaochao
 */
@ToString
@Data
public class SkuItemVo {
    /**
     * sku基本信息，pms_sku_info
     */
    private SkuInfoEntity info;
    /**
     * 是否有货
     */
    private boolean hasStock = true;
    /**
     * sku图片信息，pms_sku_img
     */
    private List<SkuImagesEntity> images;
    /**
     * spu的销售属性组合
     */
    private List<SkuItemSaleAttrVo> saleAttrs;

    /**
     * spu的介绍
     */
    private SpuInfoDescEntity spuDesc;
    /**
     * spu规格参数信息
     */
    private List<SpuBaseAttrGroupVo> groupAttrs;
    /**
     * 商品秒杀信息
     */
    private SecKillSkuRedisVo redisVo;
}
